package com.soulless;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zenglei
 * @Description 功能描述
 * @date 2020/7/28 14:16
 */
@RestController
@SpringBootApplication
public class SpringbootApplication {

    @GetMapping("/hello")
    public String hello() {
        return "Hello spring boot";
    }

    public static void main(String[] args) {
        SpringApplication.run(SpringbootApplication.class, args);
    }

}
